package com.gxa.saas.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@ApiModel
@NoArgsConstructor
@AllArgsConstructor
@Data
public class StoreHouseOut implements Serializable {
    @ApiModelProperty(name = "id",value = "编号",dataType = "Integer",required = true)
    private Integer id;
    @ApiModelProperty(name = "createDate",value = "创建日期",dataType = "Date",required = true)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createDate;
    @ApiModelProperty(name = "depot",value = "出库仓库",dataType = "string",required = true)
    private String depot;
    @ApiModelProperty(name = "oName",value = "业务员",dataType = "string",required = true)
    private String oName;
    @ApiModelProperty(name = "amount",value = "总金额",dataType = "string",required = true)
    private String amount;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ApiModelProperty(name = "time",value = "出库时间",dataType = "Date",required = true)
    private Date time;
    @ApiModelProperty(name = "uName",value = "发起人",dataType = "string",required = true)
    private String uName;
    @ApiModelProperty(name = "aName",value = "审批人",dataType = "string",required = true)
    private String aName;
    @ApiModelProperty(name = "state",value = "状态",dataType = "string",required = true)
    private String state;
    @ApiModelProperty(name = "comments",value = "审批意见",dataType = "string",required = true)
    private String comments;
    @ApiModelProperty(name = "mount",value = "库存数量",dataType = "Integer",required = true)
    private String mount;
    @ApiModelProperty(name = "payType",value = "付款方式",dataType = "string",required = true)
    private String payType;
}
